package com.yx.pc.api.service;



import com.yx.modules.api.entity.TbVolume;

import java.util.List;
import java.util.Map;

/**
 * 卷
 * 
 * @author luo
 * @email www.baidu.com
 * @date 2018-06-13 11:26:00
 */
public interface PcTbVolumeService {
	
	TbVolume queryObject(Integer id);
	
	List<TbVolume> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(TbVolume volume);
	
	void update(TbVolume volume);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

    List<TbVolume> findByBookId(Integer bookId);
}
